﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="F321_Bao_cao_bao_tri_theo_don_vi.aspx.cs" Inherits="BaoCao_Bao_cao_nhan_vien_theo_ket_qua_lam_viec" %>

<%@ Register Assembly="eWorld.UI" Namespace="eWorld.UI" TagPrefix="ew" %>
<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .cssTextBox
        {
        }
        .style7
        {
            width: 191px;
        }
        .style8
        {
            width: 402px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="MainContent" runat="server">
    <table cellspacing="0" cellpadding="2" style="width: 100%;" class="cssTable" border="0">
        <tr>
            <td class="cssPageTitleBG" align="center" colspan="4">
                <asp:Label ID="lbl_bao_cao_bao_chi_theo_don_vi" runat="server" CssClass="cssPageTitle"
                    Text="BÁO CÁO BẢO TRÌ THEO ĐƠN VỊ" />
            </td>
        </tr>
        <tr>
            <td align="right">
                &nbsp;
            </td>
            <td class="style8">
                &nbsp;
            </td>
            <td align="right" class="style7">
                &nbsp;
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="m_lbl_ten_don_vi" CssClass="cssManField" runat="server" Text="Tên đơn vị" />
            </td>
            <td class="style8">
                <asp:DropDownList ID="m_cbo_ten_don_vi" runat="server" CssClass="cssDorpdownlist"
                    Width="96%" onselectedindexchanged="m_cbo_ten_don_vi_SelectedIndexChanged">
                </asp:DropDownList>
            </td>
            <td align="right" class="style7">
                &nbsp;
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td align="right">
                &nbsp;
            </td>
            <td class="style8">
                &nbsp;
            </td>
            <td align="right" class="style7">
                <asp:Button ID="m_cmd_xuat_file_excel1" AccessKey="x" CssClass="cssButton" runat="server"
                    Width="98px" Text="Xuất file Excel" Height="22px" 
                    onclick="m_cmd_xuat_file_excel1_Click" />
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td class="cssPageTitleBG" colspan="4">
                <asp:Label ID="v_lbl_ds_thiet_bi_da_mua" runat="server" Text="Danh sách thiết bị đã mua"
                    CssClass="cssPageTitle" />
            </td>
        </tr>
        <tr>
            <td align="left">
                <asp:Label ID="m_lbl_thong_bao" CssClass="cssManField" runat="server"></asp:Label>               
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
        <!-- Lưới dữ liệu -->
        <tr>
            <td align="center" colspan="4" valign="top">
                <asp:GridView ID="m_grv_ds_dot_bao_tri" runat="server" CellPadding="4" AutoGenerateColumns="False"
                    Width="98%" BackColor="White" BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px">
                    <Columns>
                        <asp:TemplateField HeaderText="STT">
                            <ItemTemplate>
                                <%# Container.DataItemIndex + 1 %>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField DataField="TEN_MAY" HeaderText="Tên máy" />
                        <asp:BoundField DataField="NGAY_BAN_GIAO" HeaderText="Ngày bàn giao" />
                        <asp:BoundField DataField="MODEL" HeaderText="Model" />
                        <asp:BoundField DataField="HANG_SAN_XUAT" HeaderText="Hãng sản xuất" />
                        <asp:BoundField DataField="XUAT_XU" HeaderText="Xuất xứ" />
                        <asp:BoundField DataField="SN" HeaderText="Số seri" />
                        <asp:BoundField DataField="SO_LUONG_MUA" HeaderText="Số lượng mua" />
                    </Columns>
                    <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
                    <HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" />
                    <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
                    <RowStyle BackColor="White" ForeColor="#003399" />
                    <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
                    <SortedAscendingCellStyle BackColor="#EDF6F6" />
                    <SortedAscendingHeaderStyle BackColor="#0D4AC4" />
                    <SortedDescendingCellStyle BackColor="#D6DFDF" />
                    <SortedDescendingHeaderStyle BackColor="#002876" />
                </asp:GridView>
            </td>
        </tr>
    </table>
</asp:Content>
